package study.nosql.mongodb.dao.userbase;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import study.nosql.mongodb.dao.BaseDoc;

@Data
@Document(collection = "user_base")
public class UserBaseEO extends BaseDoc {

    @Field("ub_id")
    private Long ubId;
    @Field("ub_name")
    private String ubName;
}
